﻿#{extends 'main.html' /}
#{set title:'Login' /}

#{if flash.error}
	<div 	class = "msgInfo">
		<p>
			${flash.error}
		</p>
	</div>
#{/if}

<form action="@{CUsuario.efetuarLogin()}" method="post">
    <table>
    <tr>
	<td>Login:</td>
	<td><input type="text" name="login" id ="login" value = "${params.login}"/></td>
    </tr>
    <tr>
	<td>Senha:</td>
	<td><input type="password" name="senha" id="senha"/></td>
	<td><input type="submit" value="Login" /></td>
    </tr>
    </table>
</form> 

<a href = "@{Application.cadastrarUsuario()}">Cadastar</a>


